package com.aegis.manage.enums;

import com.aegis.common.web.IResponseEnum;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author renogo
 *
 * @Version 1.0
 */
@AllArgsConstructor
@Getter
public enum ResponseEnums implements IResponseEnum {

    /**
     *
     */
    ACCOUNT_EXIST(1000, "账户名已被占用，请重试"),
    REGISTER_FAIL(1001, "创建用户失败"),
    DEL_FAIL(1002, "删除用户失败"),
    MOBILE_EXIST(1003, "手机号已被注册"),
    UPDATE_USER_FAIL(1004, "更新用户信息失败"),
    LOGIN_FAIL(2000, "账户或密码错误"),
    CAPTCHA_INVALID(2001, "验证码无效");


    private final Integer code;
    private final String message;

}
